package org.jeecg.modules.demo.com.kunpeng.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 采购合同明细
 * @Author: jeecg-boot
 * @Date:   2022-12-23
 * @Version: V1.0
 */
@ApiModel(value="purchase_contract_detail对象", description="采购合同明细")
@Data
@TableName("purchase_contract_detail")
public class PurchaseContractDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**序号*/
	@Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private java.lang.String sccpid;
	/**主表ID*/
    @ApiModelProperty(value = "主表ID")
    private java.lang.String scid;
	/**商品编码*/
	@Excel(name = "商品编码", width = 15)
    @ApiModelProperty(value = "商品编码")
    private java.lang.String commodityId;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private java.lang.String commodityName;
	/**商品类型*/
	@Excel(name = "商品类型", width = 15)
    @ApiModelProperty(value = "商品类型")
    private java.lang.String commodityType;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private java.lang.String specifications;
	/**计量单位*/
	@Excel(name = "计量单位", width = 15)
    @ApiModelProperty(value = "计量单位")
    private java.lang.String company;
	/**含税单价*/
	@Excel(name = "含税单价", width = 15)
    @ApiModelProperty(value = "含税单价")
    private java.math.BigDecimal unitPrice;
	/**合同数量*/
	@Excel(name = "合同数量", width = 15)
    @ApiModelProperty(value = "合同数量")
    private java.lang.String contractCount;
	/**价税合计*/
	@Excel(name = "价税合计", width = 15)
    @ApiModelProperty(value = "价税合计")
    private java.lang.String totalAmount;
	/**税率*/
	@Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
    private java.lang.String taxRate;
	/**税额*/
	@Excel(name = "税额", width = 15)
    @ApiModelProperty(value = "税额")
    private java.lang.String taxAmount;
	/**折扣率*/
	@Excel(name = "折扣率", width = 15)
    @ApiModelProperty(value = "折扣率")
    private java.lang.String discountRate;
	/**已回款金额*/
	@Excel(name = "已回款金额", width = 15)
    @ApiModelProperty(value = "已回款金额")
    private java.math.BigDecimal returnAmount;
	/**未回款金额*/
	@Excel(name = "未回款金额", width = 15)
    @ApiModelProperty(value = "未回款金额")
    private java.math.BigDecimal noReturnAmount;
	/**不含税金额*/
	@Excel(name = "不含税金额", width = 15)
    @ApiModelProperty(value = "不含税金额")
    private java.math.BigDecimal noTaxAmount;
	/**合同金额*/
	@Excel(name = "合同金额", width = 15)
    @ApiModelProperty(value = "合同金额")
    private java.math.BigDecimal contractAmount;
	/**供货日期*/
	@Excel(name = "供货日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "供货日期")
    private java.util.Date supplyDate;
	/**要货日期*/
	@Excel(name = "要货日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "要货日期")
    private java.util.Date purchaseDate;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}
